package com.zhongketech.sunflower.transport.im;

import com.zhongketech.sunflower.transport.LogUtil;

public class MsgDao {

	private static final String TAG = "MsgDao";

	private short lenght;
	private short seq;
	private short command;
	private String body;

	public MsgDao(short lenght,short seq, short command,String body)
	{
		LogUtil.i(TAG,"MsgDao lenght:"+lenght+" seq:"+seq+" command:"+command+" body:"+body);

		this.lenght = lenght;
		this.seq = seq;
		this.command = command;
		this.setBody(body);

	}

	public short getLenght() {
		return lenght;
	}
	public void setLenght(short lenght) {
		this.lenght = lenght;
	}
	public short getSeq() {
		return seq;
	}
	public void setSeq(short seq) {
		this.seq = seq;
	}
	public short getCommand() {
		return command;
	}
	public void setCommand(short command) {
		this.command = command;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

}
